<template>
	<view class="container">
		<rich-text class="rich_text" :nodes="introduceData.content"></rich-text>
	</view>
</template>

<script setup>
import { onMounted, ref } from 'vue';
import { getIntroduce } from '../../api/introduce';
const introduceData = ref("");
onMounted(async()=>{
	const {data} = await getIntroduce();
	introduceData.value = data[0];
	console.log(introduceData.value);
})
</script>

<style scoped lang="scss">
.container{
	width: 100%;
	padding: 10rpx;
	box-sizing: border-box;
}
.rich_text{
	width: 100%;
}
</style>
